package week_three_day03.sax;

import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;

public class SaxTest {
	public static void main(String[] args)throws Exception {
		SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
		//向事件源注册handler
		parser.parse("books1.xml",new MyDefaultHandler());
	}
}
